<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        function fun(callback){
            setTimeout(function(){
                callback(10,20)
            },2000)
        }
        function count(a,b){
            console.log(a+b)
        }
        fun(count);
        console.log("hello 同步")
    </script>
</body>
</html>